package dao

// 这是 LiDistributionSelectedGoods 的全局公开dao对象
var LiDistributionSelectedGoodsDao = liDistributionSelectedGoodsDao{}

// 这是 li_distribution_selected_goods表 的实体类
type LiDistributionSelectedGoods struct {
	Id                  int    `json:"id" form:"id" v:"id"`                                                          // ID
	DistributionGoodsId string `json:"distribution_goods_id" form:"distribution_goods_id" v:"distribution_goods_id"` // 分销商品ID
	DistributionId      string `json:"distribution_id" form:"distribution_id" v:"distribution_id"`                   // 分销商ID

}

// 注意:这是 LiDistributionSelectedGoods 的私有dao对象
type liDistributionSelectedGoodsDao struct {
	Insert func(arg LiDistributionSelectedGoods) int                         //插入一条记录
	Update func(arg LiDistributionSelectedGoods) int                         //更新一条记录
	Delete func(arg LiDistributionSelectedGoods) int                         //删除一条记录
	Select func(arg LiDistributionSelectedGoods) LiDistributionSelectedGoods //获取一条记录
}
